IF EXISTS (SELECT * FROM sysobjects WHERE type = 'P' AND name = 'spSetup_Update')
	BEGIN
		PRINT 'Dropping Procedure spSetup_Update'
		DROP  Procedure  spSetup_Update
	END

GO

PRINT 'Creating Procedure spSetup_Update'
GO
Create Procedure dbo.spSetup_Update
	( 	  
		@SysAdmin1User_ID numeric(9,0) = null, 
		@SysAdmin2User_ID numeric(9,0) = null
	)
AS
  /* 
    ------------------------------------------------------------------------------
    - Change History
    - --------------
    - Date          Description
    ------------------------------------------------------------------------------
    - 2007/11/02    Initial version Updated
    ------------------------------------------------------------------------------
  */

	-- Declare the required variables

	-- Update the required new record
	UPDATE Setup
	SET
		SysAdmin2User_ID = @SysAdmin2User_ID		
	WHERE SysAdmin1User_ID = @SysAdmin1User_ID

	-- Return to calling method
	RETURN
	
GO
